#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <gtest/gtest.h>
#include <thread>
#include <pthread.h>
#include "config.h"
#include "log/zuclog.h"
#include "log/zlog.hh"
int main(int argc, char* argv[])
{
    zucLogInit();
    zlog()->set_level(spdlog::level::trace);
    zlog()->info("[GTEST] Running testmain.cpp");
    zucEnableStdout(true);
    // gtest的内部命名空间
    testing::InitGoogleTest(&argc, argv);
    // RUN_ALL_TESTS 也应为 gtest.h 的内部宏
    return RUN_ALL_TESTS();
}